'use strict';

/* 用户信息 - 数据模型 */
module.exports = app => {
  const ctx = app.createAnonymousContext();

  return ctx.helper.model('room', {

    user: {
      type: String,
      //ref : "user"
    },
    tousers: [{
      type: String,
      ref: "user"
    }],
    name : {
      type : String,
      displayname : "群聊室名字"
    },

  });
};
